package com.google.code.jbauble.mvc;

import javax.servlet.ServletConfig;

public abstract class Application {
	protected ServletConfig servletConfig = null;
	protected DefaultConfiguration config = null;
	protected UrlRouting router = null;

	public void setServletConfig(ServletConfig servletConfig) {
		this.servletConfig = servletConfig;
	}

	public void setRouter(UrlRouting router) {
		this.router = router;
	}

	public void setConfig(DefaultConfiguration config) {
		this.config = config;
	}
	
	protected abstract void applicationInit();
	
	protected abstract void applicationDestroy();
}
